Read More UI State, UI Events, and One-Time Effects in Compose
Model Compose screens with durable UI state, explicit UI events, and controlled one-time effects for navigation and snackbars.
Read More Model Compose screens with durable UI state, explicit UI events, and controlled one-time effects for navigation and snackbars.
Read More Use rememberSaveable for small UI state that must survive recreation, create listSaver and mapSaver implementations for custom types, and avoid storing large data in Bundles.
Read More Manage Jetpack Compose list and collection state with observable immutable updates, SnapshotStateList, stable lazy-list keys, and a clear ownership boundary.
Read More Build immutable Jetpack Compose UI state, understand stability inference and strong skipping, and diagnose real recomposition problems before optimizing.
Read More Use derivedStateOf in Jetpack Compose only when a frequently changing input produces a less frequently changing UI result, with practical scroll-threshold examples and pitfalls.
Read More Choose the right Compose effect API for cleanup, publishing rendered state, and reading the latest value without restarting a long-lived effect.
Read More Collect StateFlow safely in Jetpack Compose with collectAsStateWithLifecycle, lifecycle-aware UI state, and a stateless screen boundary.
Read More Use rememberLazyListState in Jetpack Compose to react to LazyColumn scrolling, show a back-to-top action, send scroll events efficiently, and animate to an item.
Read More Build clear loading, empty, error, and retry states around Jetpack Compose lists and Paging 3 without mixing UI state with list content.
Read More Use stable keys in Jetpack Compose lazy lists to preserve item identity, remembered state, scroll position, and item animations when data changes.
Read More Understand declarative UI in Jetpack Compose: describe UI from state, pass events upward, and let Compose update only what changes.
Read More Learn when to hoist Jetpack Compose state, how stateful and stateless composables work, and where remember, state holders, and ViewModels belong.
Read More Build predictable Compose screens with immutable UI state, explicit actions, reducer-style ViewModel updates, and a deliberate policy for one-time effects.